package com.wwdx.controller.rest;

import com.wwdx.controller.base.BaseOpenAuthController;
import com.wwdx.service.impl.BaseWxOpenService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 第三方平台授权认证
 * @author liguoliang
 * @date 2018/9/17 19:12
 */
@RestController
@RequestMapping("/auth")
@Api(tags = "第三方平台授权认证接口")
public class OpenAuthController extends BaseOpenAuthController {

    @Override
    protected BaseWxOpenService getWxOpenService() {
        return wxOpenService;
    }

    @Override
    protected String getPreUrl() {
        return "auth";
    }
}